/*
 * @Author: boyyang
 * @Date: 2022-02-13 11:36:56
 * @LastEditTime: 2022-02-13 12:01:01
 * @LastEditors: boyyang
 * @Description: 
 * @FilePath: \boyyang\src\directive\index.ts
 */

import { App } from 'vue'
import lazyLoad from './lazyload'

interface IDirectivePlugin {
    install(app: App): void
}

let directivePlugin: IDirectivePlugin = {
    install: (app) => {
        app.directive('lazy', lazyLoad)
    }
}

export default directivePlugin